package com.ruoyi.document.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同类型对象 contract_type
 * 
 * @author limengyao
 * @date 2023-03-04
 */
public class ContractType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合同类型id */
    private Long contractId;

    /** 合同类型名称 */
    @Excel(name = "合同类型名称")
    private String contractName;

    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }
    public void setContractName(String contractName) 
    {
        this.contractName = contractName;
    }

    public String getContractName() 
    {
        return contractName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contractId", getContractId())
            .append("contractName", getContractName())
            .toString();
    }
}
